#ifndef MY_INPUT_NAME_H
#define MY_INPUT_NAME_H



#include "CScene.h"



#define INPUT_NAME_BTN_ACTIVE	1300
#define INPUT_NAME_BTN_OK		1301

#define RECORD_TYPE_SCORE		0
#define RECORD_TYPE_TIME		1

#define DEFAULT_MAX_NAME_SIZE	8



class InputName : public CScene
{
public:
	InputName( CScene** ppScene );
	~InputName()	{ MzCloseSip(); }

	void	InitScene();
	void	RenderScene();
	void	RunLogic();

	inline
	void StartLogic()
	{
		CScene::StartLogic();
		m_pPerScene->StopLogic();

	}

	void SetRecordType( DWORD dwType, DWORD dwParam )
	{
		m_dwRecordType = dwType;
		m_dwParam = dwParam;

	}

protected:
	DWORD	m_dwParam;
	DWORD	m_dwRecordType;
	int		m_nNameSize;
	WCHAR	m_wszName[16];

};




#endif